﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AG.Editor.UI;

namespace AGMapEditor
{
    public partial class MainWindow : Form
    {
        AGEMainMenuMidiator _menuMidiator;

        public MainWindow()
        {
            InitializeComponent();

            ctlTxtProjectState.Text = "没有更改";

            _menuMidiator = new AGEMainMenuMidiator(this, menuStrip1);

            AG.Editor.MapUI.AGMapMgrPanel mapMgrPanel = new AG.Editor.MapUI.AGMapMgrPanel();
            mapMgrPanel.Dock = DockStyle.Fill;
            this.panel1.Controls.Add(mapMgrPanel);

            mapMgrPanel.OnActived(_menuMidiator);}
    }
}
